package com.xxx.common.mysql.bo;

import lombok.Data;

@Deprecated
@Data
public class PageBO {

    /*** 页数 */
    private Integer pageNum;

    /*** 条数 */
    private Integer pageSize;

    /*** 查询总数 */
    private Boolean isCount;

    public PageBO(Integer pageNum, Integer pageSize, Boolean isCount) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.isCount = isCount;
    }

    public PageBO() {
        this.pageNum = 1;
        this.pageSize = 16;
        this.isCount = Boolean.TRUE;
    }

}